package com.xinghen.ace.auth.model.bean;

import com.xinghen.ace.auth.common.jwt.IJWTInfo;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author xinghen
 * @ClassName: ClientInfo
 * @Package: com.xinghen.ace.auth.model.bean
 * @Description client info
 * @create 2018/5/4 15:28
 */
@Data
@AllArgsConstructor
public class ClientInfo implements IJWTInfo {

    private String id;

    private String clientId;

    private String name;

    @Override
    public String getUniqueName() {
        return clientId;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getName() {
        return name;
    }
}
